package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

//订单
@Data
@Getter
@Setter
@ToString
@TableName("`order`")
public class Order implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer user_id;
    private Integer goods_id;
    private Integer order_addr_id;
    private Integer delivery_addr_id;
    private String goods_name;
    private Integer goods_count;
    private BigDecimal goods_price;
    private Integer status;//订单状态
    private LocalDateTime create_time;
    private LocalDateTime pay_time;
    private LocalDateTime send_time;//发货时间
    private LocalDateTime get_time;//确认收货时间
    private Integer is_del;
}
